package com.ciaojian.worker.strategy.workerstatus;

import com.ciaojian.core.enums.business.WorkerWorkerStatusEnum;
import com.ciaojian.core.model.Worker;
import org.springframework.beans.factory.InitializingBean;

/**
 * 发型师状态修改器
 *
 * @author oxiny
 */
public interface StatusModifier extends InitializingBean {

    /**
     * 业务处理
     *
     * @param worker 发型师
     */
    void handle(Worker worker);

    /**
     * 获取发型师状态
     *
     * @return /
     */
    WorkerWorkerStatusEnum getStatus();
}
